home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / DJ111M2.ZIP / go32 / utils.h < prev   
C/C++ Source or Header  |  1993-12-20  |  1KB  |  35 lines

  1. /* This is file UTILS.H */
  2. /*
  3. ** Copyright (C) 1993 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  4. **
  5. ** This file is distributed under the terms listed in the document
  6. ** "copying.dj", available from DJ Delorie at the address above.
  7. ** A copy of "copying.dj" should accompany this file; if not, a copy
  8. ** should be available from where this file was obtained.  This file
  9. ** may not be distributed without a verbatim copy of "copying.dj".
  10. **
  11. ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  12. ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. */
  14.  
  15. #ifndef _UTILS_H_
  16. #define _UTILS_H_
  17.  
  18. void go_til_stop(int allow_ret);
  19.  
  20. void zero32(word32 vaddr);
  21. void memput(word32 vaddr, void far *ptr, word16 len);
  22. void memget(word32 vaddr, void far *ptr, word16 len);
  23. void memscan32(word32 vaddr, void far *ptr, char term); /* copy ASCIIZ string from arena - VCPI only */
  24.  
  25. word32 peek32(word32 vaddr);
  26. word16 peek16(word32 vaddr);
  27. word8 peek8(word32 vaddr);
  28. /* void poke32(word32 vaddr, word32 v);
  29. void poke16(word32 vaddr, word16 v);
  30. void poke8(word32 vaddr, word8 v); */
  31.  
  32. extern int use_ansi;
  33.  
  34. #endif
  35.